package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.seating.model.AddSeatingModel;
import com.ls.controller.seating.model.EditIndexModel;
import com.ls.controller.seating.model.EditSeatingModel;
import com.ls.entity.Seating;
import com.ls.utils.ResultData;

/**
 * <p>
 * 场地 服务类
 * </p>
 *
 * @author lanchi
 * @since 2024-10-12
 */
public interface ISeatingService extends IService<Seating> {
    /**
     * 添加场地
     */
    ResultData add(AddSeatingModel model);
    /**
     * 修改场地
     */
    ResultData edit(EditSeatingModel model);
    /**
     * 删除场地
     */
    ResultData del(Long seatingId);
    /**通过id查询场地*/
    ResultData getSeatingById(Long seatingId);
    /**获取当前用户的场地列表*/
    ResultData getSeatingList();
    /**编辑场地排序*/
    ResultData editIndex(EditIndexModel model);
}
